package me.ereach.generics;

import java.util.ArrayList;
import java.util.List;

public class MainUser {
    public static void main(String[] args) {
        List<User> list = new ArrayList<>();
        list.add(new User("Tom", "male", 10));
        list.add(new User("Jerry", "male", 12));
        System.out.println(list);
    }
}
